package com.gss.armory.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.validator.constraints.NotBlank;

@Entity
@Table(name="BUSINESS_UNIT_TYPE")
public class BusinessUnitTypeDTO {
	@NotBlank
	private String buTypeName;
	@NotBlank
	private String buTypeCode;
	
	@Id
	@Column(name="BUT_CODE",length=100)
	public String getBuTypeCode() {
		return buTypeCode;
	}
	@Column(name="BUT_NAME",length=251)
	public String getBuTypeName() {
		return buTypeName;
	}
		
	public void setBuTypeName(String buTypeName) {
		this.buTypeName = buTypeName;
	}
	
	public void setBuTypeCode(String buTypeCode) {
		this.buTypeCode = buTypeCode;
	}
	
	
	
}
